import QtQuick 2.9
import QtQuick.Controls 2.2
import Qt.labs.platform 1.1
import QtQuick.Controls.Material 2.12

ApplicationWindow {
    id: window
    visible: true
    maximumHeight: 400
    maximumWidth: 300
    minimumHeight: 400
    minimumWidth : 300
    title: qsTr("SimData")

    header: ToolBar {
        id: toolBar
        Material.background: Material.Red

        Label {
            text: stackView.currentItem.title
            font.family: "Times New Roman"
            font.bold: true
            font.pixelSize: 20
            anchors.centerIn: parent
        }
    }

    StackView {
        id: stackView
        initialItem: "HomeForm.ui.qml"
        anchors.fill: parent
    }

    footer: Rectangle{
        id:footerRectangle
        color: Material.color(Material.Red)
        height: 20
        Text {
            color: "#ffffff"
            anchors.fill: parent
            text: qsTr("ABOUT  ")
            font.bold: true
            font.pixelSize: 12
            font.family: "Times New Roman"
            horizontalAlignment: Text.AlignRight
            verticalAlignment: Text.AlignVCenter
            MouseArea{
                anchors.fill:parent
                onClicked: {Qt.openUrlExternally("http://helloshu.top/")}
                }

        }
    }
}











































































/*##^## Designer {
    D{i:0;autoSize:true;height:480;width:640}
}
 ##^##*/
